import {
  get,
  post
} from '../utils/request.js'

//注册
export const registApi = params => post('/regist', params)

//登录
export const loginApi = params => post('/login', params)

//获取用户信息
export const loadApi = params => get('/customer/user', params)
